import request from "@/utils/request";

//读取视频分类下的标签接口
export interface IData{
    id:number,
    name:string,

}

export interface IDataVideo{
    coverUrl:string,
    description:string
}
    



// export interface IVideoLIst {

//     data:{
//         id:number,
//         name:string
//     }[],

// }

//读取视频分类下的标签请求
export const getVideoTagsApi = () => request.get<any,{data:IData[]}>('/video/group/list')


// 读取标签下内容请求
export const getVideocontentApi =  ( key:number ) => request.post<any,any>(`/video/group?id=${key}`)

